<%--
  Created by IntelliJ IDEA.
  User: pc
  Date: 2021/1/4
  Time: 10:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>管理员-头部</title>
    <%
        pageContext.setAttribute("APP_PATH", request.getContextPath());
    %>
    <link href="${APP_PATH }/plugins/bootstrap/css/bootstrap.css" rel="stylesheet" />
    <link href="${APP_PATH }/plugins/css/base.css" rel="stylesheet" />
</head>
<body>
<div class="container-fluid">
    <nav class="navbar navbar-default row no-yj  navbar-fixed-top">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed"
                        data-toggle="collapse" data-target="#nav-list-left"
                        aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span> <span
                        class="icon-bar"></span> <span class="icon-bar"></span> <span
                        class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="${APP_PATH }/WEB-INF/admin/all.jsp">刷新页面</a>
            </div>

            <!-- 退出管理员登录 -->
            <div class="collapse navbar-collapse pull-right"
                 id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li>
                        <!-- 右上 -->
                        <a class="dropdown-toggle" href="${APP_PATH }/adminExit" style="height: 50px">
                            <span class="pull-left nav-username">退出</span>
                        </a>
                    </li>
                </ul>
            </div>
            <!-- 登录管理员信息 -->
            <div class="collapse navbar-collapse pull-right"
                 id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li>
                        <!-- 右上 -->
                        <a class="dropdown-toggle" data-toggle="dropdown" href="#"
                           style="height: 50px">
                            <img
                                    class="img-circle pull-left img-responsive nav-user-img"
                                    src="${APP_PATH }/images/admin/user.jpg" />
                            <span class="pull-left nav-username">管理员-${adminList.aname }</span>
                        </a>

                        <!-- 右上（打开） -->
                        <ul class="dropdown-menu dropdown-menu-right clearfix"
                            style="padding-top: 0px">
                            <li class="user-li-head"><span> <img
                                    class="img-circle nav-user-img-xiala center-block"
                                    src="${APP_PATH }/images/admin/user.jpg" /></span>
                                <p></p>
                                <p class="text-center">
                                    <span>管理部 - 管理员</span>
                                </p>
                                <p class="text-center">
                                    <span>${adminList.aname}</span>
                                </p>
                                <p class="text-center">
                                    <small><span>${adminList.atime}</span></small>
                                </p>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
            <%--</c:if>--%>
        </div>
    </nav>
</div>

<script src="${APP_PATH }/plugins/jquery/jquery.min.js"></script>
<script src="${APP_PATH }/plugins/bootstrap/js/bootstrap.js"></script>
<script src="${APP_PATH }/plugins/bootstrap/js/npm.js"></script>
<%--<script src="${APP_PATH }/plugins/js/layer/layer.js"></script>--%>

</body>
</html>